<template>
    <div>
        <van-dropdown-menu active-color="#4395ff">
            <van-dropdown-item v-model="value1" :options="option1" />
            <van-dropdown-item v-model="value2" :options="option2" />
            <van-dropdown-item v-model="value3" :options="option3" />
            <van-dropdown-item v-model="value4" :options="option4" />
        </van-dropdown-menu>
    </div>
</template>

<script>
import {
  DropdownMenu, DropdownItem,
} from 'vant';

export default {
  data() {
    return {
      value1: 0,
      value2: 0,
      value3: 0,
      value4: 0,
      option1: [
        { text: '全部', value: 0 },
        { text: '新款商品', value: 1 },
        { text: '活动商品', value: 2 },
      ],
      option2: [
        { text: '默认排序', value: 0 },
        { text: '好评排序', value: 1 },
        { text: '销量排序', value: 2 },
      ],
      option3: [
        { text: '领先进度排序', value: 0 },
        { text: '对方', value: 1 },
        { text: '阿飞', value: 2 },
      ],
      option4: [
        { text: '筛选', value: 0 },
        { text: '地方', value: 1 },
        { text: '大幅度', value: 2 },
      ],
    };
  },
  components: {
    [DropdownMenu.name]: DropdownMenu,
    [DropdownItem.name]: DropdownItem,
  },
  methods: {
  },
  created() {
  },
};
</script>

<style lang="less" scoped>
/deep/.van-dropdown-menu__title{
    font-size: 12px;
}
</style>
